package com.qujia.station.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Auther: zxy
 * @Date: 2023/8/29 16:24
 * @Description:
 */
@Data
@ApiModel("团队管理")
@NoArgsConstructor
@AllArgsConstructor
public class AddTeamManagement  {

    @ApiModelProperty(value = "团队id")
    private Long id;

    @ApiModelProperty(value = "地区  :  华北地区、华南地区、西南地区、西北地区、东北地区")
    private Integer district;

    @ApiModelProperty(value = "团队名称")
    @Size(max = 22,message = "团队名称不能超过22个字符")
    @NotEmpty(message = "团队名称不能为空")
    private String teamName;

    @ApiModelProperty(value = "团队成员id")
    private List<String> member;

    @ApiModelProperty(value = "负责人id")
    private Long leaderId;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date createDate;

}
